Skip to content

Conversation

GrabowskiM
Copy link
Contributor

🎫 Issue IBX-7999

Description:

For QA:

Documentation:

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces checkbox component implementations for the Ibexa design system, including both standard checkbox and three-state checkbox components with corresponding TypeScript functionality.

  • Adds PHP Twig components for Checkbox and ThreeStateCheckbox with proper inheritance structure
  • Implements TypeScript classes for checkbox behavior with indeterminate state support
  • Creates Twig templates for rendering checkbox HTML markup

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/lib/Twig/Components/inputs/AbstractCheckbox.php Base abstract class providing common checkbox properties and validation
src/lib/Twig/Components/inputs/Checkbox.php Standard checkbox component extending AbstractCheckbox
src/lib/Twig/Components/inputs/ThreeStateCheckbox.php Three-state checkbox component with indeterminate property
src/bundle/Resources/views/themes/standard/design_system/components/inputs/Checkbox.html.twig Twig template for standard checkbox rendering
src/bundle/Resources/views/themes/standard/design_system/components/inputs/ThreeStateCheckbox.html.twig Twig template for three-state checkbox with indeterminate styling
src/bundle/Resources/public/ts/shared/BaseCheckbox.ts Base TypeScript class for checkbox components
src/bundle/Resources/public/ts/components/inputs/Checkbox.ts Standard checkbox TypeScript implementation
src/bundle/Resources/public/ts/components/inputs/ThreeStateCheckbox.ts Three-state checkbox with indeterminate state handling
src/bundle/Resources/public/ts/components/inputs/InputText.ts Fixed class name typo from InpuText to InputText
src/bundle/Resources/public/ts/init_components.ts Added initialization for both checkbox components

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@@ -1,6 +1,6 @@
import Base from '../../shared/Base';

export default class InpuText extends Base {
export default class InputText extends Base {
Copy link
Preview

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name 'InpuText' was misspelled and has been correctly fixed to 'InputText'.

Copilot uses AI. Check for mistakes.

@dew326 dew326 merged commit 148c8ad into main Aug 28, 2025
4 checks passed
@dew326 dew326 deleted the IBX-7999 branch August 28, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants